﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    getALLOverduedInfo
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <script src="<%: Url.Content("~/Scripts/userJs/network.js") %>" type="text/javascript"></script>
    <div class="dashboard">
        <input type="button" id="btnInsert" value="添加网络状态" class="addUpdateNetwork" />
        <input type="button" id="btnDelete" value="删除选中状态" />
    </div>
    <div class="content">
        <p class="thead">
        </p>
        <table id="tblMain">
            <tr>
                <th>
                    <input id="cbkAll" type="checkbox" />
                </th>
                <th scope="col">
                    MAC地址
                </th>
                <th scope="col">
                    状态
                </th>
                <th scope="col">
                    资产ID
                </th>
                <th scope="col">
                    最近续办日期
                </th>
                <th scope="col">
                </th>
            </tr>
            <%foreach (var a in Model)
              {%>
                <tr>
                    <td class="row">
                        <input id="<%=a.MAC %>" type="checkbox" />
                    </td>
                    <td class="row">
                    <%=a.MAC %>
                    </td>
                    <td class="row">
                    <%=Enum.GetName(typeof(EKAABSInformationManagement.Service.status), a.status)%>
                    </td>
                    <td class="row">
                    <%=a.assetID %>
                    </td>
                    <td>
                    <%=a.latestUpdateDate %>
                    </td>
                    <td>
                        <input class="addUpdateNetwork" id="btnUpdate" type="button" name="update" value="修改" />
                    </td>
                </tr>    
            <%} %>
        </table>
    </div>
<h2></h2>

</asp:Content>
